package my.project.feign.hystrix;

import my.project.feign.instance.ComputeInstance;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by 哲 on 2016/11/29.
 */
@Component
public class ComputeClientHystrix implements ComputeInstance {
    @Override
    public Integer add(@RequestParam("a") Integer a, @RequestParam("b") Integer b) {
        return -1;
    }
}
